/**
 * 
 */
package design_pattern.decorator.order;

/**
 * @author linzq
 * 
 */
public class OrderDecorator extends Order {

  protected Order order;

  public OrderDecorator(Order order) {
    this.order = order;
    this.setSaleDate(order.getSaleDate());
    this.setCustomerName(order.getCustomerName());
  }

  @Override
  public void print() {
    super.print();
  }
}
